package com.corp.two.spi;

import com.corp.platform.common.response.RespResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.time.LocalDateTime;

/**
 * @Author Keanu
 * @Date 2020/7/2 0002 16:56
 * @Version
 **/
@FeignClient(name = "service-two")
public interface RemoteTwoClient {
    @GetMapping(value = "testserviceone")
    RespResult<String> serviceTwo(@RequestParam(required = false) LocalDateTime localDateTime);
}
